<template>
	<view class="container">
		<image :src="scoreRuleImg" mode="widthFix" style="width: 100%;vertical-align: -4px;"></image>
	</view>
</template>
<script setup>
	import { ref, onMounted } from 'vue'
	import { $liteConfigInfo } from '@/http/apiManager.js'
	
	const scoreRuleImg = ref('')
	
	onMounted(() => {
		getLiteConfigInfo()
	})
	
	// 获取小程序配置信息（福分规则）
	async function getLiteConfigInfo(){
		uni.showLoading({ title: '加载中...' })
		const { bizData } = await $liteConfigInfo()
		const { scoreRule } = bizData
		scoreRuleImg.value = scoreRule
		uni.hideLoading()
	}
</script>
<style scoped>
	
</style>